package com.ruoyi.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 无人机驾照对象 cz_license
 * 
 * @author ruoyi
 * @date 2022-01-09
 */
@ApiModel(description= "无人机驾照对象")
public class CzLicense extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 驾照ID */
    @ApiModelProperty(value ="驾照ID")
    private String id;

    /** 姓名 */
    @Excel(name = "姓名")
    @ApiModelProperty(value ="姓名")
    private String name;

    /** 年龄 */
    @Excel(name = "年龄")
    @ApiModelProperty(value ="年龄")
    private Long age;

    /** 性别 */
    @Excel(name = "性别")
    @ApiModelProperty(value ="性别")
    private String sex;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value ="出生日期")
    private Date birthDay;

    /** 已有驾照类型 */
    @Excel(name = "已有驾照类型")
    @ApiModelProperty(value ="已有驾照类型")
    private String existType;

    /** 申请驾照类型 */
    @Excel(name = "申请驾照类型")
    @ApiModelProperty(value ="申请驾照类型")
    private String applyType;

    /** 驾照编号 */
    @Excel(name = "驾照编号")
    @ApiModelProperty(value ="驾照编号")
    private String serialNo;
    
    /** 驾照编号 */
    @Excel(name = "发证日期")
    @ApiModelProperty(value ="驾照编号")
    private Date certificateDate;

    /** 电子照片 */
    @Excel(name = "电子照片")
    @ApiModelProperty(value ="电子照片")
    private String image;

    /** 申请人ID */
    @Excel(name = "申请人ID")
    @ApiModelProperty(value ="申请人ID")
    private Long userId;

    /** 驾照状态 */
    @Excel(name = "驾照状态")
    @ApiModelProperty(value ="驾照状态")
    private String status;

    /** 申请状态 */
    @Excel(name = "申请状态")
    @ApiModelProperty(value ="申请状态")
    private String applyStatus;
    
    @Excel(name = "当前审核人员")
    @ApiModelProperty(value ="当前审核人员")
    private Long auditUserId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setBirthDay(Date birthDay) 
    {
        this.birthDay = birthDay;
    }

    public Date getBirthDay() 
    {
        return birthDay;
    }
    public void setExistType(String existType) 
    {
        this.existType = existType;
    }

    public String getExistType() 
    {
        return existType;
    }
    public void setApplyType(String applyType) 
    {
        this.applyType = applyType;
    }

    public String getApplyType() 
    {
        return applyType;
    }
    public void setSerialNo(String serialNo) 
    {
        this.serialNo = serialNo;
    }

    public String getSerialNo() 
    {
        return serialNo;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setApplyStatus(String applyStatus) 
    {
        this.applyStatus = applyStatus;
    }

    public String getApplyStatus() 
    {
        return applyStatus;
    }
    
    public Long getAuditUserId() {
		return auditUserId;
	}

	public void setAuditUserId(Long auditUserId) {
		this.auditUserId = auditUserId;
	}

	
	public Date getCertificateDate() {
		return certificateDate;
	}

	public void setCertificateDate(Date certificateDate) {
		this.certificateDate = certificateDate;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("age", getAge())
            .append("sex", getSex())
            .append("birthDay", getBirthDay())
            .append("existType", getExistType())
            .append("applyType", getApplyType())
            .append("serialNo", getSerialNo())
            .append("image", getImage())
            .append("userId", getUserId())
            .append("status", getStatus())
            .append("applyStatus", getApplyStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
